package com.ourteam.product.ui.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:05 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProductUITabItemDAO
    extends IDataAccessInterface<ProductUITabItem, ProductUITabItemDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PRODUCT_UI_TAB_ITEM";

  /** Mapped Field ID */
  static final String Id = "PRODUCT_UI_TAB_ITEM.ID";

  /** Mapped Field TAB_ID */
  static final String TabId = "PRODUCT_UI_TAB_ITEM.TAB_ID";

  /** Mapped Field FORM_ID */
  static final String FormId = "PRODUCT_UI_TAB_ITEM.FORM_ID";

  /** Mapped Field CODE */
  static final String Code = "PRODUCT_UI_TAB_ITEM.CODE";

  /** Mapped Field TITLE */
  static final String Title = "PRODUCT_UI_TAB_ITEM.TITLE";

  /** Mapped Field TITLE_KEY */
  static final String TitleKey = "PRODUCT_UI_TAB_ITEM.TITLE_KEY";

  /** Mapped Field ICON */
  static final String Icon = "PRODUCT_UI_TAB_ITEM.ICON";

  /** Mapped Field COMPENT_CLASS */
  static final String CompentClass = "PRODUCT_UI_TAB_ITEM.COMPENT_CLASS";

  /** Mapped Field SORT_INDEX */
  static final String SortIndex = "PRODUCT_UI_TAB_ITEM.SORT_INDEX";

  /** Mapped Field LAST_MODIFY_USER */
  static final String LastModifyUser = "PRODUCT_UI_TAB_ITEM.LAST_MODIFY_USER";

  /** Mapped Field LAST_MODIFY_TIME */
  static final String LastModifyTime = "PRODUCT_UI_TAB_ITEM.LAST_MODIFY_TIME";

  /** Mapped Field STATUS */
  static final String Status = "PRODUCT_UI_TAB_ITEM.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "PRODUCT_UI_TAB_ITEM.REMARKS";

  /** Mapped Attribute formCode */
  static final String FormCode =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIFormDAO.Code,
          com.ourteam.product.ui.dao.IProductUIFormDAO.EntityName + ".",
          "PRODUCT_UI_FORM.");

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute tabId */
    static final String TabId = "tabId";

    /** Attribute formId */
    static final String FormId = "formId";

    /** Attribute code */
    static final String Code = "code";

    /** Attribute title */
    static final String Title = "title";

    /** Attribute titleKey */
    static final String TitleKey = "titleKey";

    /** Attribute icon */
    static final String Icon = "icon";

    /** Attribute compentClass */
    static final String CompentClass = "compentClass";

    /** Attribute sortIndex */
    static final String SortIndex = "sortIndex";

    /** Attribute lastModifyUser */
    static final String LastModifyUser = "lastModifyUser";

    /** Attribute lastModifyTime */
    static final String LastModifyTime = "lastModifyTime";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";

    /** Attribute formCode */
    static final String FormCode = "formCode";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProductUITabItem findById(final long id) throws Exception;
}
